import java.sql.*;
import javax.swing.*;
public class Dbsqlconnection {
	Connection conn=null;
 public static Connection dbConnector()
 
 {
	 try{
		 Class.forName("org.sqlite.JDBC");
		 Connection con=DriverManager.getConnection("JDBC:sqlite:C:\\new\\employeedata.sqlite");
		 JOptionPane.showMessageDialog(null, "Hi karadi how ru connected ");
		 return con;
	 }catch(Exception e)
	 {
		 JOptionPane.showMessageDialog(null,e);
		 return null;
	 }
	 
 }
}
